#pragma once

#include <string>

namespace ftp
{
namespace utils
{
	bool getCommandNameAndArgument(const std::string& str, std::string* cmdName, std::string* argument);

	std::string makeCommonResponse(int resCode, const std::string& comment);
	std::string makePwdResponse(int resCode, const std::string& dirPath, const std::string& comment);
	std::string makePasvResponse(int resCode, const std::string& ip, const int port, const std::string& comment);

} //utils
} //ftp
